home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ASTRONOM / H139.ZIP / UI101.ZIP / IO / TW / TW.H < prev   
C/C++ Source or Header  |  1991-11-04  |  2KB  |  47 lines

  1. /****************************************************************
  2.  
  3.     tw.h            Header for Graphics Text Window
  4.  
  5.             Copyright (c) 1991, Ted A. Campbell
  6.  
  7.             Bywater Software
  8.             P. O. Box 4023
  9.             Duke Station
  10.             Durham, NC  27706
  11.  
  12.             email: tcamp@teer3.acpub.duke.edu
  13.  
  14.     Copyright and Permissions Information:
  15.  
  16.     All U.S. and international copyrights are claimed by the
  17.     author. The author grants permission to use this code
  18.     and software based on it under the following conditions:
  19.     (a) in general, the code and software based upon it may be
  20.     used by individuals and by non-profit organizations; (b) it
  21.     may also be utilized by governmental agencies in any country,
  22.     with the exception of military agencies; (c) the code and/or
  23.     software based upon it may not be sold for a profit without
  24.     an explicit and specific permission from the author, except
  25.     that a minimal fee may be charged for media on which it is
  26.     copied, and for copying and handling; (d) the code must be
  27.     distributed in the form in which it has been released by the
  28.     author; and (e) the code and software based upon it may not
  29.     be used for illegal activities.
  30.  
  31. ****************************************************************/
  32.  
  33. struct tw_struct
  34.    {
  35.    int          x1;                     /* left side in graphics coords */
  36.    int          y1;                     /* bottom in graphics coords */
  37.    int          x2;                     /* right side in graphics coords */
  38.    int          y2;                     /* top in graphics coords */
  39.    int          fxsize;                 /* font size graphics coords */
  40.    int          fysize;                 /* font size graphics coords */
  41.    int          lines;                  /* number of text lines */
  42.    int          columns;                /* number of text columns */
  43.    }
  44.  
  45.  
  46. extern struct tw_struct *tw_init();
  47.